home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Amos / AMOSList-1097 / AMOSLIST / text0162.txt < prev    next >
Encoding:
Text File  |  1998-06-24  |  978 b   |  36 lines

  1. Declan_Gorman@modusmedia.com wrote:
  2.  
  3. >      A couple of questions....
  4. >      i) Is there an Amos extension that supports Midi? 
  5. >      ii) Has anyone on the list written any Midi routines using Amos? 
  6. >      iii) Where can I get some technical documentation on how to address
  7. >           Midi hardware?
  8.  
  9. i) 
  10. Nah, but you can put MIDI in OctaMed & use Med Midi On
  11.  
  12. ii)
  13. Rem Exec 'run "mydrive:tripleplayplus/other sequencers/triple play
  14. plus"' 
  15. 'only if you've got B&P Triple Play - run once, then re-Rem
  16.  
  17. Serial Open 0,0 : Serial Speed 0,31250
  18. Serial Bits 0,8,1 : Serial Parity 0,-1 : Serial X 0,-1
  19. Wait Vbl
  20. For N=0 To 12
  21. Serial Send 0,Chr$($90)+Chr$(N+60)+Chr$(127)
  22. wait 5
  23. Serial Send 0,Chr$($80)+Chr$(N+60)+Chr$(0)
  24. Next
  25. 'Play a chromatic scale from C5 to C6
  26. Serial Send 0,Chr$($B0)+Chr$(123)+Chr$(0) : Wait Vbl
  27. 'Send all notes off to be safe
  28. Repeat : Until Serial Check(0)
  29. Serial Close 0
  30.  
  31. iii)
  32. All you need are the MIDI codes (all 8 bit)
  33.  
  34. email me privately if you have probs
  35.  
  36.